﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WidgetsDesign.API.Models
{
    public class EmployeeModel
    {
        [Key]
        [Column("employee_id")]
        public string EmployeeId { get; set; }
        [Required]
        public string Name { get; set; }
        public string Gender { get; set; }
        [Column("Birth_date")]
        public DateTime BirthDate { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        [Column("hire_date")]
        public DateTime HireDate { get; set; }
        [Required]
        public string Position { get; set; }
        public string Department { get; set; }
        public string Photo { get; set; }
        [Column("work_experience")]
        public string WorkExperience { get; set; }
        [Column("emergency_contact_name")]
        public string EmergencyContactName { get; set; }
        [Column("emergency_contact_phone")]
        public string EmergencyContactPhone { get; set; }
        public string Remarks { get; set; }
    }
}
